
public class ThreadStudy {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		for(int i =0;i<=10;i++)		
		{
			System.out.println(i);
			try {
				Thread.sleep(500);
			} catch (Exception e) {
				e.printStackTrace();
			}
			
		}
		for(int i =0;i<=10;i++)
			System.out.print("*");
		try {
			Thread.sleep(500);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
